package xyz.zdsoft.ask_for_leave_manage_module.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class TeacherSearchBo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("当前页(默认1)")
    private Integer current;

    @ApiModelProperty("当前页size(默认10)")
    private Integer size;

    @ApiModelProperty(value = "范围选择开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startLeaveTime;

    @ApiModelProperty(value = "范围选择结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endLeaveTime;

    @ApiModelProperty("院系id")
    private String collegeId;

    @ApiModelProperty("专业id")
    private String majorId;

    @ApiModelProperty("年级id")
    private String gradeId;

    @ApiModelProperty("班级id")
    private String classId;

    @ApiModelProperty("学号")
    private String userNo;

    @ApiModelProperty("学生姓名")
    private String stuName;

    @ApiModelProperty("请假主题")
    private String theme;

    @ApiModelProperty("请假类型")
    private Integer leaveType;

    @ApiModelProperty("审批状态:默认：0（审批中），1（审批不通过），2（审批通过）")
    private Integer status;

    @ApiModelProperty("是否通过 0：未通过 1：通过")
    private Integer pass;
}
